home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
bbsutil
/
pbnet17.zip
/
STRUCT.ZIP
/
INOUT
/
MAILIN.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-06-01
|
1KB
|
38 lines
@echo off
rem This is \FD\INOUT\MAILIN.BAT
if exist \fd\files\*.pkt call move \fd\files\*.pkt \fd\pkttemp
rem To add a network, copy a block and change the net name (NET variable),
rem and the FilenameRoot of the mail files you receive for that net.
rem **** Make sure a directory with the name of the net exists off \FD\, and
rem that the directories "BADPKT" and "PKTTEMP" also exist off \FD\
rem The NET name should be also a valid DOS directory name. (mixed case OK)
rem [BLOCK STARTS HERE]
set NET=Fido
set fr=0000fff8
cd \fd\files
for %%a in (%fr%.mo?,%fr%.tu?) do call \fd\inout\import.bat %NET% %%a
for %%a in (%fr%.we?,%fr%.th?) do call \fd\inout\import.bat %NET% %%a
for %%a in (%fr%.fr?,%fr%.sa?) do call \fd\inout\import.bat %NET% %%a
for %%a in (%fr%.su?) do call \fd\inout\import.bat %NET% %%a
rem [BLOCK ENDS HERE]
set NET=Nanet
set fr=0000fe80
cd \fd\files
for %%a in (%fr%.mo?,%fr%.tu?) do call \fd\inout\import.bat %NET% %%a
for %%a in (%fr%.we?,%fr%.th?) do call \fd\inout\import.bat %NET% %%a
for %%a in (%fr%.fr?,%fr%.sa?) do call \fd\inout\import.bat %NET% %%a
for %%a in (%fr%.su?) do call \fd\inout\import.bat %NET% %%a
:done
if "%LASTNET%" == "" echo No mail to import has been found ... :(
if exist f:\fd\pkttemp\*.pkt call move f:\fd\pkttemp\*.pkt f:\fd\badpkt
cd \fd\inout
set NET=
set fr=
set LASTNET=